package com.sc.dal.mapper.member;

import java.util.List;

import com.sc.dal.dto.member.MemberNewsDto;
import com.sc.dal.dto.member.NewsTypeDto;
import com.sc.dal.model.member.MemberNews;

public interface MemberNewsMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(MemberNews record);

    int insertSelective(MemberNews record);

    MemberNews selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(MemberNews record);

    int updateByPrimaryKey(MemberNews record);

	List<NewsTypeDto> selectMemberNewsTypeListByMid(String mId);

	List<MemberNewsDto> selectMemberNewsDtoList(MemberNewsDto dto);
}